<?php
/**
 * Create by Phpstorm
 * User: Peco
 * Date: 2019/12/18
 * Time: 13:59
 */


namespace App\Models;


class Settings extends BaseModel
{
    /**
     * 与模型关联的数据表
     *
     * @var string
     */
    protected $table = 'settings';

    /**
     * 主键
     * @var string
     */
    protected $primaryKey = 'key';

    /**
     * @var bool 主键不自增
     */
    public $incrementing = false;

    /**
     * 需要被转换成日期的属性。
     *
     * @var array
     */
    protected $dates = ['created_at', 'updated_at', 'deleted_at'];

    /**
     * @var array
     */
    protected $hidden = ['deleted_at'];

}

